home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
TRAX.ZIP
/
PCBTODXF.DOC
< prev
next >
Wrap
Text File
|
1991-03-13
|
4KB
|
152 lines
DOCUMENT FILE FOR PCBTODXF.EXE Version 2.01
(c) 1991 PROTEL TECHNOLOGY PTY LTD
This program converts an AUTOTRAX PCB file to the AUTOCAD Drawing
Interchange file (DXF) format.
Because of the space intensive nature of the DXF format, the program
generates either "draft" mode or "full" mode output.
Running PCBtoDXF.
Type PCBtoDXF
The following will appear
AUTOTRAX FILE to AUTOCAD FILE PROGRAM Version 2.01
---------------------------------------------------
Copyright (c) 1988,1991 Protel Technology Pty. Ltd.
Input File Name >
Enter the AUTOTRAX PCB file name (the extension will be forced to .PCB)
Output File Name >
Enter the DXF output file name.(the extension will be forced to .DXF)
If the output file already exists, then you will be asked to confirm
overwriting it.
Output File SOMEFILE.DXF Exists, Overwrite Y/N >
Press the Y or N key.
You can also supply these filenames from the command line, but the
overwrite prompt will still appear.
If you supply incorrect number of command line parameters then the
following help message will appear.
Correct Command Line Usage
PCBtoDXF <AUTOTRAX File Name> <DXF File Name>
For Example
PCBtoDXF DEMO TEST
Will Generate The File TEST.DXF
If No File Names Are Supplied, The Program Will Prompt For Them.
If the input file is not found, then the following message will appear
and you will be returned to the DOS prompt.
Input File Not Found. PCBtoDXF Program Aborted
Otherwise the following message will be displayed
Do You Want Full Quality Output in the DXF file (Big File)
Y:es, Full Quality
N:o, Generate Only Draft Quality
Press the Y or N key to continue. The following message will appear and
the DXF file will be generated.
Processing SOMEFILE.PCB
The sizes of the DXF file will vary dramatically depending on the
contents of the PCB file, but as a rough guide, the draft mode DXF file
will be 3 to 4 times the size of the PCB file, and the full mode DXF
file will be 8 to 12 times the size of the PCB file.
Notes on storage of data in the DXF file
----------------------------------------
The program will place all of the PCB data from all PCB layers onto
equivilent AutoCAD layers. To keep the space to a minimum, single letter
layer designators are used.
Top Layer T
Mid Layer 1 1
Mid Layer 2 2
Mid Layer 3 3
Mid Layer 4 4
Bottom Layer B
Top Overlay O
Bottom Overlay M
Ground Layer G
Power Layer P
Board Layer D
Keep-Out Layer K
Multi-Layer U
All items (both free and component primitives) are saved as individual
entities in the DXF file.
Tracks
In draft mode, tracks are stored as simple lines.
In full mode, tracks are stored as a single poly-line with a solid
circle on each end. Each solid circle consists of two 180 degree
polyarcs.
Round Pads and Vias
In draft mode, round pads and vias are stored as simple circles.
In full mode they are stored as two 180 degree polyarcs.
Round Rectangular Pads
In Draft mode, these consist of two simple arcs, with two simple lines.
In Full mode rounded rectangular pads are stored in the same way as
tracks.
Rectangular Pads and Fills
These are always drawn as solid fills. Although this is inconsistant,
(ie fills are solid when all others are wire-frame), the storage
requirements for rectangular solids are less than for 4 lines. If you
wish to display a draft mode DXF file as all wire-frame (ie including
area-fills), then use the AutoCAD FILL command to display SOLIDS as
wire-frames.
Octagonal Pads
In Draft mode these are stored as eight lines.
In full mode, they are stored as three horizontally oriented AutoCAD
solids.
Targets
In draft mode, stored as 2 lines and 2 arcs.
In full mode, stored as 2 polylines and 2 polyarcs.
Moires
Stored as either arcs in draft mode or polyarcs in full mode.
Text
Always stored as scaled and rotated AutoCAD text using the default
AutoCAD font. Line thickness is always 1 pixel.
Arcs
In draft mode, stored as a single AutoCAD arc.
In full mode stored as 1 or 2 polyarcs (since polyarcs can only be 180
degrees max).
(rev 3.91)
(end)